#include<iostream>
#include<unistd.h>
#include<fcntl.h>

using namespace std;

int main()
{
    int fd = open("../ffl", O_RDWR);
    char buffer[1024] = {0};
    read(fd, buffer, sizeof(buffer) - 1);
    cout<<"i read "<<buffer<<endl;
    close(fd);

    return 0;
}
